<template>
  <div>
    <Student name="张三" :age="18"></Student>
    <Student name="李四" ></Student>
    <Student name="王五" :age="20"></Student>
  </div>
</template>

<script>
import Student from './components/Student.vue'
export default {
    name:'App',
    components:{Student},
    data(){
        return{
            msg:'欢迎学习VUE'
        }
    }
}
</script>